<p><strong>Live Distributed Objects</strong></p>
<p>&nbsp;</p>
<p><strong>Using the AF Demo (Public Models)</strong></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;">Introduction</span></p>
<p>The LiveObjects Air Force (AF) Demo was created to show the XNA and .liveobject folder capabilities of the LiveObjects distribution to the Air Force in a mock "Battlefield Command and Control" scenario. &nbsp;Please see the excellent video on the LiveObjects Codeplex Home page for a complete demonstration. &nbsp;The demo uses MSN Virtual Earth maps (either road or aerial) with overlaid 3D models and a few other example .liveobjects, including a text box. &nbsp;The original demo contains 3D models that are property of the Air Force which we are not able to distribute. &nbsp;The available Public Models version of the demo contains models obtained from <a title="TurboSquid" href="http://www.turbosquid.com/">TurboSquid</a>. &nbsp;If you'd like to see the demo with the original models, and thus planes whose nomenclature actually match their models, please <a title="contact us" href="mailto:krzys@cs.cornell.edu ">contact us</a>.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;">Using the Demo (Single Host)</span></p>
<ol>
<li>Install the current LiveObjects distribution available on the Downloads tab of liveobjects.codeplex.com. &nbsp;Be sure to install all prerequisites, including XNA Framework.</li>
<li>Download the AF Demo (Public Models) from the same tab</li>
<li>Extract the AF Demo .zip file, the resulting folder contains all of the .liveobjects that have been prepared and are used in the demo. &nbsp;The public models that these LiveObjects point to are already included in the distribution under the \content folder.</li>
<li>Open a command prompt with Administrator&nbsp;privileges (right click and select "Run as administrator").</li>
<li>Execute the following in that command prompt, to launch the channels_server: "C:\liveobjects\bin\liveobjects.exe C:\liveobjects\examples\channels_server.liveobject". &nbsp;You may also choose to launch the channels_server.liveobject that is contained in the AF Demo folder, as these are identical and simply launch the server listening on localhost.</li>
</ol>
<p>Now you are ready to run through the demo.</p>
<ol>
<li>Double click on "xna_window_freestyle_shared_1.liveobject" to launch the XNA window.</li>
<li>Drag the map_aerial or map_road LiveObjects onto that window to load an MSN Virtual Earth map.</li>
<li>Double click on "FolderControl.liveobject" to launch the FolderControl window.</li>
<li>Drag the shared_folder_1.liveobject onto the FolderControl window to load the shared folder that the XNA Window is looking at by default.</li>
<li>Double click on "Folder 1" inside the FolderControl window to navigate inside the shared folder. &nbsp;You should see the "VE Road Maps" or "VE Aerial Maps" that you've already loaded by dragging it into the XNA window.</li>
<li>Click on the XNA window and use the cursor and scroll wheel to zoom in towards the Northeast of the United States.</li>
<li>Drag the Scenario folder into the FolderControl window to load the bulk of the demo's objects. &nbsp;You should see [Battle Space] appear in the top right of the window. &nbsp;You can click on this and the rest of the folders that appear in order to view the same folder structure from the FolderControl window in the XNA window. &nbsp;You can also click on individual objects to toggle them on/off. &nbsp;At this point, all buildings ("Structures") are loaded, but only the "Enemy" vehicles appear. &nbsp;The rest of the Scenario is contained inside the Pieces folder.</li>
<li>Double click on the Pieces folder in Windows Explorer.</li>
<li>Navigate to the Friendly folder in the FolderControl window (first, double click on Battle Space)</li>
<li>Drag the "F - Air" and "F - Ground" folders to the FolderControl window. &nbsp;An "Air" and "Ground" folder will appear inside FolderControl and a whole new set of models, representing the "Friendly" side in this conflict, will appear in the XNA window.</li>
<li>Navigate inside Friendly\Air in the FolderControl window and drag the Bomber folder (from Pieces) there to add Friendly Bombers.</li>
<li>Navigate inside Friendly\Air\Fighter and drag the "Fighters 1", "Fighters 2" and "Fighters 3" folders there to add the 3 additional Friendly Fighter squads.</li>
<li>Go back to the AF Demo folder (navigate out of Pieces) and double click on shared_text_1.liveobject. &nbsp;Type text in that box and see a communication box appear near NYC with that text.</li>
<li>Double click on building_1_publisher.liveobject and zoom in on the XNA window to the Enemy Structures (east of Allentown, PA). &nbsp;Change the color of the northeast Enemy building by using the controls on the building_1_publisher window.</li>
</ol>
<p><span style="text-decoration: underline;"><br />Using More Hosts</span></p>
<p>LiveObjects inherent power is in the distributed nature. &nbsp;You can connect to the host which is running the channel_server by editing the communication_c.liveobject registry object (as described in the Configuring Network Communication section of the Documentation) under C:\liveobjects\registry\011E83FA6A9F426993BB8EF26FF7D7B8 on each additional host. &nbsp;After configuring the communication_c, simply launch&nbsp;xna_window_freestyle_shared_1.liveobject on that host. &nbsp;All changes made at either host will appear on the other's screen. &nbsp;Each host can itself choose to toggle on/off any particular object to customize its view.</p>
<p>&nbsp;</p>
<ol> </ol>